package edu.jd.movieplatform.c_admin.info.dao;

import edu.jd.movieplatform.c_admin.info.Info;
import edu.jd.movieplatform.c_admin.info.InfoDto;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

public interface InfoDao {
    @Select("select * from sys_manager where m_id = #{m_id}")
    Info getC_adminInfo(String m_id);


    @Update("update sys_manager set m_name=#{m_name},m_sex=#{m_sex},m_birth=#{m_birth},m_pwd=#{m_pwd},m_avatar=#{m_avatar} where m_id=#{m_id}")
    void updateInfo(InfoDto dto);

}
